//
//  BankList.m
//  EJLX
//
//  Created by adc on 15/11/26.
//  Copyright © 2015年 江苏一键联信息科技有限公司. All rights reserved.
//

#import "BankList.h"

@implementation BankList
+(BankList *)praseBankWithDiactionary:(NSDictionary *)dict{
    BankList *bank = [[BankList alloc] init];
    if (![dict[@"code"] isKindOfClass:[NSNull class]]) {
         bank.code = dict[@"code"];
    }else{
         bank.code = @"";
    }
    
    if (![dict[@"name"] isKindOfClass:[NSNull class]]) {
        bank.name = dict[@"name"];

    }else{
        bank.name = @"";

    }
    
        
 
    
    return bank;
}
@end
